package com.djinfo.work.service.impl;

import com.djinfo.work.dao.QsDicDao;
import com.djinfo.work.entity.QsDicEntity;
import com.djinfo.work.entity.QsUserEntity;
import com.djinfo.work.service.QsDicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service("qsDicService")
public class QsDicServiceImpl implements QsDicService {
	@Autowired
	private QsDicDao qsDicDao;



	@Override
	public void saveOrUpdate(QsDicEntity object) {
		qsDicDao.saveOrUpdate(object);
	}

	@Override
	public List<QsDicEntity> page(QsDicEntity tbDicNews, Integer pageNum, Integer pageSize) {
		return qsDicDao.page( tbDicNews,  pageNum,  pageSize);
	}

	@Override
	public List<QsDicEntity> list(QsDicEntity object) {
		return qsDicDao.list(object);
	}

	@Override
	public Integer getAllRowCount(QsDicEntity object) {
		return qsDicDao.getAllRowCount(object);
	}


	@Override
	public void delete(QsDicEntity object) {
		qsDicDao.delete(object);
	}

	@Override
	public QsDicEntity selectOne(QsDicEntity object) {
		return qsDicDao.selectOne( object);
	}

	@Override
	public QsDicEntity getById(String id) {
		return qsDicDao.getById(id);
	}
}
